package com.cloud.lan.api.manage;

import com.cloud.lan.api.dto.req.LanUserPraiseReq;
import com.cloud.lan.entity.base.BaseResponse;
import com.cloud.lan.service.ILanUserPraiseService;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * 用户点赞管理入口
 * @author ErKang
 * @date Created in 2022-05-21 04:24
 * @title TestApi.java
 * Department: Product development
 */
@RestController
@RequestMapping(value = {"/v1/manage/user/praise/"}, method = {RequestMethod.GET, RequestMethod.POST}, produces = {"application/json"})
public class LanUserPraiseManageApi {

    @Resource
    ILanUserPraiseService lanUserPraiseService;

    @RequestMapping("manageList")
    public BaseResponse<Object> manageList(LanUserPraiseReq req) {
        return lanUserPraiseService.manageList(req);
    }

}
